package kingiis.utils.trysvg.kot

import android.content.Context
import android.view.View
import android.widget.TextView
import kingiis.utils.simpleapp.BFra
import kingiis.utils.trysvg.R

/*** Created by King on 2018/1/4 0004.
 */
class TwoFra : BFra() {


    override fun thisLayout(): View? {
        return layout
    }

    override fun InitView(context: Context?): View? {
        layout = View.inflate(context, R.layout.fra_one, null)
        init(layout)
        return layout
    }

    var layout: View? = null
    fun init(view: View?) {
        val text = view!!.findViewById<TextView>(R.id.text)
        text.text = "2"
    }


}